﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartCity.ProcessEngine.Domain.Entities
{
    /// <summary>
    /// 流程表单的字段(流程明细)实体
    /// </summary>
    public class FormFieldModel:BaseEntity
    {
        /// <summary>
        /// 关联的流程表单
        /// </summary>
        public long FormId {  get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string FieldName {  get; set; }
        /// <summary>
        /// 字段描述
        /// </summary>
        public string FieldDes { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public FieldTypeEnum FieldType {  get; set; }
        /// <summary>
        /// 组件
        /// </summary>
        public ComponentEnum FieldComponent { get; set; }
        /// <summary>
        /// 组件默认值
        /// </summary>
        public string FieldValue {  get; set; }
        /// <summary>
        /// 组件选项集合 (json 数组)
        /// </summary>
        public string FieldOptions { get; set; }

    }
}
